package com.hdoit.ares.logical.viewmodel.official;

import java.util.List;

import com.tennetcn.common.enums.pub.YesOrNoInteger;
import com.tennetcn.common.message.SearchModel;

public class ArticalClassifySearch extends SearchModel{
    private String type;
	
	private List<String> types;
	
	private int hidden;
	
	private String useType;
	
	private String parentId;
	
	private String buttonType;
	
	private String menuMark;
	
	private String functionURL;
	

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<String> getTypes() {
		return types;
	}

	public void setTypes(List<String> types) {
		this.types = types;
	}

	public int getHidden() {
		return hidden;
	}

	public void setHidden(int hidden) {
		this.hidden = hidden;
	}

	public String getUseType() {
		return useType;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}
	
	public void setUseType(String... useType){
		if(useType!=null&&useType.length>0){
			setUseType(useType[0]);
		}
	}
	
	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getButtonType() {
		return buttonType;
	}

	public void setButtonType(String buttonType) {
		this.buttonType = buttonType;
	}

	public String getMenuMark() {
		return menuMark;
	}

	public void setMenuMark(String menuMark) {
		this.menuMark = menuMark;
	}


	public ArticalClassifySearch(){
		setHidden(YesOrNoInteger.no);
	}

	public String getFunctionURL() {
		return functionURL;
	}

	public void setFunctionURL(String functionURL) {
		this.functionURL = functionURL;
	}
	
	
}
